import request from '../utils/request';

/*用户注册*/
export function register(data) {
  return request({
    url: '/register',
    method:'POST',
    data
  })
}
/*用户登录*/
export function login(data) {
  return request({
    url: '/login',
    method:'POST',
    data
  })
}
/*修改用户信息*/
export function editUserInfo(data) {
  return request({
    url: '/userInfo',
    method:'POST',
    data
  })
}

